/*
 * hkh-project
 * leafteamwork.blogspot.com
 * Tool: Netbeans 6.7.1 - SQL Server 2005
 */
package vn.com.hkh.dto;

import java.io.Serializable;

/**
 *
 * @author leaf
 */
public class BookDTO implements Serializable {

    private static long serialVersionUDI = 1L;
    private String id;
    private String customerFullname;
    private String customerEmail;
    private String customerPhone;
    private String customerAddress;
    private String arriveDate;
    private String departureDate;
    private int roomCount;
    private int adultsCount;
    private int childrenCount;
    private String otherRequest;

    public BookDTO() {
    }

    public BookDTO(String id, String customerFullname, String customerEmail, String customerPhone, String customerAddress, String arriveDate, String departureDate, int roomCount, int adultsCount, int childrenCount, String otherRequest) {
        this.id = id;
        this.customerFullname = customerFullname;
        this.customerEmail = customerEmail;
        this.customerPhone = customerPhone;
        this.customerAddress = customerAddress;
        this.arriveDate = arriveDate;
        this.departureDate = departureDate;
        this.roomCount = roomCount;
        this.adultsCount = adultsCount;
        this.childrenCount = childrenCount;
        this.otherRequest = otherRequest;
    }



    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the customerFullname
     */
    public String getCustomerFullname() {
        return customerFullname;
    }

    /**
     * @param customerFullname the customerFullname to set
     */
    public void setCustomerFullname(String customerFullname) {
        this.customerFullname = customerFullname;
    }

    /**
     * @return the customerEmail
     */
    public String getCustomerEmail() {
        return customerEmail;
    }

    /**
     * @param customerEmail the customerEmail to set
     */
    public void setCustomerEmail(String customerEmail) {
        this.customerEmail = customerEmail;
    }

    /**
     * @return the customerPhone
     */
    public String getCustomerPhone() {
        return customerPhone;
    }

    /**
     * @param customerPhone the customerPhone to set
     */
    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    /**
     * @return the customerAddress
     */
    public String getCustomerAddress() {
        return customerAddress;
    }

    /**
     * @param customerAddress the customerAddress to set
     */
    public void setCustomerAddress(String customerAddress) {
        this.customerAddress = customerAddress;
    }

    /**
     * @return the arriveDate
     */
    public String getArriveDate() {
        return arriveDate;
    }

    /**
     * @param arriveDate the arriveDate to set
     */
    public void setArriveDate(String arriveDate) {
        this.arriveDate = arriveDate;
    }

    /**
     * @return the departureDate
     */
    public String getDepartureDate() {
        return departureDate;
    }

    /**
     * @param departureDate the departureDate to set
     */
    public void setDepartureDate(String departureDate) {
        this.departureDate = departureDate;
    }

    /**
     * @return the roomCount
     */
    public int getRoomCount() {
        return roomCount;
    }

    /**
     * @param roomCount the roomCount to set
     */
    public void setRoomCount(int roomCount) {
        this.roomCount = roomCount;
    }

    /**
     * @return the adultsCount
     */
    public int getAdultsCount() {
        return adultsCount;
    }

    /**
     * @param adultsCount the adultsCount to set
     */
    public void setAdultsCount(int adultsCount) {
        this.adultsCount = adultsCount;
    }

    /**
     * @return the childrenCount
     */
    public int getChildrenCount() {
        return childrenCount;
    }

    /**
     * @param childrenCount the childrenCount to set
     */
    public void setChildrenCount(int childrenCount) {
        this.childrenCount = childrenCount;
    }

    /**
     * @return the otherRequest
     */
    public String getOtherRequest() {
        return otherRequest;
    }

    /**
     * @param otherRequest the otherRequest to set
     */
    public void setOtherRequest(String otherRequest) {
        this.otherRequest = otherRequest;
    }

    @Override
    public int hashCode() {
        int _hash = 0;
        _hash += (getId() != null ? getId().hashCode() : 0);
        return _hash;
    }

    @Override
    public boolean equals(Object _object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(_object instanceof BookDTO)) {
            return false;
        }
        BookDTO _other = (BookDTO) _object;
        if ((this.getId() == null && _other.getId() != null) || (this.getId() != null && !this.getId().equals(_other.getId()))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "BookDTO[id=" + getId() + "]";
    }

}
